﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Warframe_Character_Builder
{
    public enum ModType
    {
        Rifle = 0,
        Shotgun,
        Pistol,
        Melee,
        Warframe,
        Sentinel
    }
    public class Mod
    {
        private string name;
        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        private string description;
        public string Description
        {
            get { return description; }
            set { description = value; }
        }

        private ModType type;
        public ModType Type
        {
            get { return type; }
            set { type = value; }
        }

        private float incrementStat;
        public float IncrementStat
        {
            get { return incrementStat; }
            set { incrementStat = value; }
        }

        private float currentStat;
        public float CurrentStat
        {
            get { return currentStat; }
            set { currentStat = value; }
        }

        private float maxStat;
        public float MaxStat
        {
            get { return maxStat; }
            set { maxStat = value; }
        }

        private int currentCost;
        public int CurrentCost
        {
            get { return currentCost; }
            set { currentCost = value; }
        }

        private int maxCost;
        public int MaxCost
        {
            get { return maxCost; }
            set { maxCost = value; }
        }

        private int currentRank;
        public int Currentrank
        {
            get { return currentRank; }
            set { currentRank = value; }
        }

        private int maxRank;
        public int MaxRank
        {
            get { return maxRank; }
            set { maxRank = value; }
        }

        private Polarity polarityType;
        public Polarity PolarityType
        {
            get { return polarityType; }
            set { polarityType = value; }
        }

        public Mod(string name1, string description1, int type1, float currentStat1, float maxStat1, int currentCost1, int maxCost1, int currentRank1, int maxRank1, Polarity polarityType1)
        {
            name = name1;
            description = description1;
            type = (ModType)type1;
            currentStat = currentStat1;
            incrementStat = currentStat;
            maxStat = maxStat1;
            currentCost = currentCost1;
            maxCost = maxCost1;
            currentRank = currentRank1;
            maxRank = maxRank1;
            polarityType = polarityType1;
        }

    }
}
